package com.xjmall.dao;

import com.xjmall.pojo.AccessoryGroup;

import java.util.List;

public interface AccessoryGroupMapper {
    int deleteByPrimaryKey(String id);

    int insert(AccessoryGroup record);

    int insertSelective(AccessoryGroup record);

    AccessoryGroup selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AccessoryGroup record);

    int updateByPrimaryKey(AccessoryGroup record);
    // 根据商品id查询套餐信息
    List<AccessoryGroup> selectByProductId(Integer productId);
}